package com.vincent.fk;

import java.util.List;

/**
 * @author vincent
 * @DATE 2018/11/30
 * @Description
 */
public class Task {
    private String id;
    private String condition;
    private boolean isSub;
    private List<Task> subTaskList;

    public boolean isSub() {
        return isSub;
    }

    public void setSub(boolean sub) {
        isSub = sub;
    }

    public List<Task> getSubTaskList() {
        return subTaskList;
    }

    public void setSubTaskList(List<Task> subTaskList) {
        this.subTaskList = subTaskList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }
}
